import request from '@/utils/request'
export function getOnPage(pageParam) {
  return request({
    url: 'gscloud_platform/platform/barCounterInvestor/page',
    method: 'get',
    params: pageParam
  })
}

export function addsave(data) {
  return request({
    url: '/gscloud_platform/platform/barCounterInvestor/save',
    method: 'post',
    data
  })
}

export function putsave(data) {
  return request({
    url: '/gscloud_platform/platform/barCounterInvestor/update',
    method: 'put',
    data
  })
}
export function delsave(pageParam) {
  return request({
    url: '/gscloud_platform/platform/barCounterInvestor/deleteById',
    method: 'DELETE',
    params: pageParam
  })
}

export function batsaves(pageParam) {
  return request({
    url: '/gscloud_platform/platform/barCounter/page',
    method: 'get',
    params: pageParam
  })
}

export function batxsaves(pageParam) {
  return request({
    url: '/gscloud_platform/platform/barCounterInvestorTurnover/page',
    method: 'get',
    params: pageParam
  })
}

// 投资人订单记录列表
export function getBarCounterinvestorOrderList(pageParam) {
  return request({
    url: '/gscloud_order/bar/barCounterOrder/getBarCounterInvestorOrderList',
    method: 'get',
    params: pageParam
  })
}


